PreviousNextTracker indexSee it online !

(26/185) 64 - Calculator plugin: actions for base conversions on selection

A plugin can be developed to convert the selected numbered text in the text area of the editor into various formats such as Octal, Binary, Hex. The number could also be converted into other scientific notations.

Submitted sridhar85 - 2008-03-11 03:31:19 Assigned psridhar
Priority 5 Labels
Status open Group None
Resolution None

Comments

2008-03-11 03:55:28
ezust

Logged In: YES
user_id=935841
Originator: NO

Alternately, someone could add the actions to the Calculator plugin which already knows how to do all the conversions,
then it's just a matter of binding the actions to shortcuts.

2008-03-11 03:55:30
ezust

- **summary**: Base Converter --> Calculator plugin: actions for base conversions on selection

2008-03-11 19:20:37
daleanson

Logged In: YES
user_id=187628
Originator: NO

That should be straight-forward. I haven't looked at the Calculator code in a while, but I recall it being fairly clean. I haven't looked at JCalculator yet, does it provide this sort of functionality? Could JCalculator and Calculator merge in some useful way?

2008-04-15 02:59:59
psridhar

Logged In: YES
user_id=1992855
Originator: NO

I have actually created a macro for this and i think it can go into the Text Menu under macros. I tested it and it worked fine too.
Shall i go ahead and submit it ?

2008-04-21 21:20:16
psridhar

Decimal to Binary

Decimal_to_Binary.bsh (854B)

2008-04-21 21:20:17
psridhar

Logged In: YES
user_id=1992855
Originator: NO

File Added: Decimal_to_Binary.bsh

2008-04-21 21:20:51
psridhar

Decimal to Hex

Decimal_to_Octal.bsh (839B)

2008-04-21 21:20:51
psridhar

Logged In: YES
user_id=1992855
Originator: NO

File Added: Decimal_to_Octal.bsh

2008-04-21 21:21:27
psridhar

Decimal to Hex

Decimal_to_Hex.bsh (934B)

2008-04-21 21:21:28
psridhar

Logged In: YES
user_id=1992855
Originator: NO

File Added: Decimal_to_Hex.bsh

2008-04-21 21:31:45
psridhar

- **assigned_to**: nobody --> psridhar